<?php

namespace app\exception;

use Exception;

class NotLoginException extends Exception
{
    protected $code = 401;       // HTTP状态码
    protected $message = '未登录'; // 默认异常信息
}